package com.filldream.fastboot.base.request.pc.systemUser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 *
 */
@ApiModel(value = "pc-修改后台管理员")
@Data
public class MofiySystemUserSTO {

    @NotNull
    @ApiModelProperty("管理员ID")
    private Long id;

    @NotEmpty(message = "账号不允许为空")
    @ApiModelProperty("账号")
    private String account;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("联系方式")
    private String phone;

    @ApiModelProperty("备注")
    private String memo;

    @ApiModelProperty("头像")
    private String img;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("角色ID")
    private List<Long> roleId;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    @ApiModelProperty(value = "岗位ID")
    private Long postId;


}
